import { CoolController, BaseController } from '@cool-midway/core';
import { Body, Inject, Post, Get, Query } from '@midwayjs/core';
import { LoginlistInfoEntity } from '../../entity/info'; 
import { LoginlistInfoService } from '../../service/info'; 

/**
 * loginlist模块-登陆信息
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: LoginlistInfoEntity,
  service: LoginlistInfoService,
  pageQueryOp: {
    keyWordLikeFields: ['loginCode', 'username'],
    fieldEq: ['status', 'type'],
  }
})
export class AdminLoginlistInfoController extends BaseController {
    @Inject()
    loginlistInfoService: LoginlistInfoService;    
}
